package com.feri.fc.strategy;

import com.feri.fc.pay.alipay.AliPayUtil;

/**
 * 指尖造梦，精益求精！
 *
 * @Author：Feri
 * @Date：2024/12/3 14:11
 * @Modified：
 */
public class PayStrategyContext {
    private PayStrategy strategy;
    public PayStrategyContext(PayStrategy strategy){
        this.strategy=strategy;
    }

    public String createPay(String title, String no, Double money) {
        return strategy.createPay(no,title,money);
    }


    public String queryStatus(String no) {
        return strategy.queryStatus(no);
    }
}
